package com.csjbot.blackgaga.cart.entity;

import java.io.Serializable;
import java.util.List;

/**
 * author : chenqi.
 * e_mail : 1650699704@163.com.
 * create_time : 2017/10/24.
 */

public class RobotMenuListBean implements Serializable{

    /**
     * message : ok
     * result : {"menulist":
     * [{"sn":"123456789","menuName":"首页","mImg":"imgurl","mURL":"/home","serviceFunction":"","serviceDataSource":"","botFunction":"","botDataSource":"","menuid":"a","parentid":"0","level":1},{"sn":"123456789","menuName":"产品","mImg":"imgurl","mURL":"/product","serviceFunction":"","serviceDataSource":"","botFunction":"","botDataSource":"","menuid":"b","parentid":"0","level":1},{"sn":"123456789","menuName":"设置","mImg":"imgurl","mURL":"/systemset","serviceFunction":"","serviceDataSource":"","botFunction":"","botDataSource":"","menuid":"c","parentid":"0","level":1},{"sn":"123456789","menuName":"美味套餐","mImg":"imgurl","mURL":"http://120.27.233.57:8080/api/pdt/getRobotMenuList?sn={sn}&producttype=1","serviceFunction":"","serviceDataSource":"","botFunction":"","botDataSource":"","menuid":"37106c30b6b3409e9a7c33d0c0821789","parentid":"b","level":2},{"sn":"123456789","menuName":"经典茶饮","mImg":"imgurl","mURL":"http://120.27.233.57:8080/api/pdt/getRobotMenuList?sn={sn}&producttype=2","serviceFunction":"","serviceDataSource":"","botFunction":"","botDataSource":"","menuid":"37106c30b6b3409e9a7c33d0c0821198","parentid":"b","level":2}]}
     * status : 200
     * timestamp : 时间戳
     */

    private String message;
    private ResultBean result;
    private String status;

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    private String timestamp;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public static class ResultBean {
        private List<MenulistBean> menulist;

        public List<MenulistBean> getMenulist() {
            return menulist;
        }

        public void setMenulist(List<MenulistBean> menulist) {
            this.menulist = menulist;
        }

        public static class MenulistBean {
            /**
             * sn : 123456789
             * menuName : 首页
             * mImg : imgurl
             * mURL : /home
             * serviceFunction :
             * serviceDataSource :
             * botFunction :
             * botDataSource :
             * menuid : a
             * parentid : 0
             * level : 1
             * language : cn
             */

            private String sn;
            private String menuName;
            private String mImg;
            private String mURL;
            private String serviceFunction;
            private String serviceDataSource;
            private String botFunction;
            private String botDataSource;
            private String menuid;
            private String parentid;
            private int level;
            private int isdefaulthome;
            private String language;
            private int sortnum;

            public String getAliasName() {
                return aliasName;
            }

            public void setAliasName(String aliasName) {
                this.aliasName = aliasName;
            }

            private String aliasName;
            public int getSortnum() {
                return sortnum;
            }

            public void setSortnum(int sortnum) {
                this.sortnum = sortnum;
            }

            public int getIsdefaulthome() {
                return isdefaulthome;
            }

            public void setIsdefaulthome(int isdefaulthome) {
                this.isdefaulthome = isdefaulthome;
            }

            public String getSn() {
                return sn;
            }

            public void setSn(String sn) {
                this.sn = sn;
            }

            public String getMenuName() {
                return menuName;
            }

            public void setMenuName(String menuName) {
                this.menuName = menuName;
            }

            public String getMImg() {
                return mImg;
            }

            public void setMImg(String mImg) {
                this.mImg = mImg;
            }

            public String getMURL() {
                return mURL;
            }

            public void setMURL(String mURL) {
                this.mURL = mURL;
            }

            public String getServiceFunction() {
                return serviceFunction;
            }

            public void setServiceFunction(String serviceFunction) {
                this.serviceFunction = serviceFunction;
            }

            public String getServiceDataSource() {
                return serviceDataSource;
            }

            public void setServiceDataSource(String serviceDataSource) {
                this.serviceDataSource = serviceDataSource;
            }

            public String getBotFunction() {
                return botFunction;
            }

            public void setBotFunction(String botFunction) {
                this.botFunction = botFunction;
            }

            public String getBotDataSource() {
                return botDataSource;
            }

            public void setBotDataSource(String botDataSource) {
                this.botDataSource = botDataSource;
            }

            public String getMenuid() {
                return menuid;
            }

            public void setMenuid(String menuid) {
                this.menuid = menuid;
            }

            public String getParentid() {
                return parentid;
            }

            public void setParentid(String parentid) {
                this.parentid = parentid;
            }

            public int getLevel() {
                return level;
            }

            public void setLevel(int level) {
                this.level = level;
            }

            public String getLanguage() {
                return language;
            }

            public void setLanguage(String language) {
                this.language = language;
            }
        }
    }
}
